GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
/**
- * GtkSwitch:active:
+ * GtkSwitch:active: (attributes org.gtk.Property.get=gtk_switch_get_active org.gtk.Property.set=gtk_switch_set_active)
*
* Whether the `GtkSwitch` widget is in its on or off state.
*/
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkSwitch:state:
+ * GtkSwitch:state: (attributes org.gtk.Property.get=gtk_switch_get_state org.gtk.Property.set=gtk_switch_set_state)
*
* The backend state that is controlled by the switch.
*
}
/**
- * gtk_switch_set_active:
+ * gtk_switch_set_active: (attributes org.gtk.Method.set_property=active)
* @self: a `GtkSwitch`
* @is_active: %TRUE if @self should be active, and %FALSE otherwise
*
}
/**
- * gtk_switch_get_active:
+ * gtk_switch_get_active: (attributes org.gtk.Method.get_property=active)
* @self: a `GtkSwitch`
*
* Gets whether the `GtkSwitch` is in its “on” or “off” state.
}
/**
- * gtk_switch_set_state:
+ * gtk_switch_set_state: (attributes org.gtk.Method.set_property=state)
* @self: a `GtkSwitch`
* @state: the new state
*
}
/**
- * gtk_switch_get_state:
+ * gtk_switch_get_state: (attributes org.gtk.Method.get_property=state)
* @self: a `GtkSwitch`
*
* Gets the underlying state of the `GtkSwitch`.